<!-- BEGIN: MAIN -->
<HTML>
<HEAD>
<TITLE>WEBSITE :: ADMIN MODE </TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<LINK href="../css/admin_login.css" rel=stylesheet type=text/css>
<LINK href="../css/admin.css" rel=stylesheet type=text/css>
<link rel="stylesheet" href="../css/template_css.css" type="text/css" />
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
<script language="JavaScript" type="text/JavaScript">
<!--

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function onlyNumber()
{
	if((event.keyCode<48)||(event.keyCode>57))
	event.returnValue=false;
}

function show_level(id){
	if(id=="low"){
		document.getElementById("show_level").style.display="block";
	}else{
		document.getElementById("show_level").style.display="none";
	}	
}

//-->
</script>
</HEAD>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px;">
 {header_panel}
  <tr> 
    <td width="150" valign="top" bgcolor="F1F3F5">
	{left_panel}
	</td>
    <td width="100%" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr bgcolor="#F1F3F5"> 
          <td width="2" valign="top"></td>
          <td colspan="2" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="0">
              <tr> 
                <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0"  class="adminheading">
                    <tr bgcolor="#EFEFEF"> 
                      <th>{lbl_user}</th>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td height="420" valign="top"> 
			   <form name="frmData" method="post" action="userWrite.php?ID={id}" enctype="multipart/form-data">
			   <input name="sub_mit" type="hidden"  value="yes">
			   <input type="hidden" name="page" value="{page}">
			   <input type="hidden" name="type" value="{type}">
			   <input name="ID" type="hidden"  value="{id}">
			   <input name="OldImage" type="hidden"  value="{image}">
                  <table width="100%">
                    <tr> 
                      <td> 
                          <table width="100%" class="adminform">
						  	<tr><th colspan="2"></th></tr>
							<tr><td width="100">&nbsp;</td>
								<td class="text_error" align="center">{error_text}{error_admin}{successfully}</td>
							</tr>
                            <tr> 
                              <td align="left" valign="top" width="100" class="{class_username}"> 
                                {lbl_username}:</td>
                              <td width="414"> <input class="field" name="username" type="text" size="50" maxlength="250" value="{username}">
                              * 
                              </td>
                            </tr>
							<tr> 
                              <td align="left" valign="top" class="{class_password}"> 
                                {lbl_password}:</td>
                              <td width="414"> <input class="field" name="password" type="password" size="50" maxlength="250" value="{password}">
                              * 
                              </td>
                            </tr>
							<tr> 
                              <td align="left" valign="top" class="{class_confirmpassword}"> 
                                {lbl_confirm_password}:</td>
                              <td> <input class="field" name="confirmpassword" type="password" size="50" maxlength="250" value="{confirmpassword}">
                              * 
                              </td>
                            </tr>
							<tr> 
                              <td align="left" valign="top" class="{class_firstname}"> 
                                {lbl_firstname}:</td>
                              <td><input class="field" name="firstname" type="text" size="50" maxlength="250" value="{firstname}">
                              * 
                              </td>
                            </tr>
							<tr> 
                              <td align="left" valign="top" class="{class_lastname}"> 
                                {lbl_lastname}:</td>
                              <td><input class="field" name="lastname" type="text" size="50" maxlength="250" value="{lastname}">
                              * 
                              </td>
                            </tr>
							<tr> 
                              <td align="left" valign="top" class="{class_email}"> 
                                Email:</td>
                              <td><input class="field" name="email" type="text" size="50" maxlength="250" value="{email}">
                              * 
                              </td>
                            </tr>													
                            <tr> 
                              <td align="left" valign="top"> 
                                Avatar:</td>
                              <td><p>
                                  <input class="field" name="image" type="file" size="40" maxlength="100" value="{image}">
                                </p>
                                </td>
                            </tr>
							<tr> 
                              <td align="left" valign="top" class="{class_address}"> 
                                {lbl_address}:</td>
                              <td><p>
                                 <textarea name="address" cols="50" rows="2">{address}</textarea> 
                                </p>
                                </td>
                            </tr>
							<tr> 
                              <td align="left" valign="top" class="{class_phone}"> 
                                {lbl_phone}:</td>
                              <td><p>
                                  <input class="field" name="phone" type="text" size="20" maxlength="20" value="{phone}">
                                </p>
                                </td>
                            </tr>
                          </table>
					</td>
                    </tr>
					<tr> 
					  <td colspan="2" align="center" valign="top"> <input type="submit" class="button" value="{lbl_save}" name="save" >&nbsp;
					   <input type="submit" class="button" value="{lbl_save_add}" name="add" > 
						&nbsp;
						<input  type="button" class="button" value="{lbl_cancel}" onclick = "javascript: location.href='user.php';"> 
					  </td>
					</tr>
                  </table>
                 </form>                  
                </td>
              </tr>
            </table>
            </td>
        </tr>
      </table></td>
  </tr>
  {footer_panel}
</table>
</BODY>
</HTML>
<!-- END: MAIN -->